#pragma once
#include <iostream>
#include <vector>
typedef void(*task)();

void task1()
{
    std::cout << "任务1" << std::endl;
}
void task2()
{
    std::cout << "任务2" << std::endl;
}
void task3()
{
    std::cout << "任务3" << std::endl;
}
void task4()
{
    std::cout << "任务4" << std::endl;
}

struct vtask
{
    std::vector<task> v;
    vtask()
    {
        v.push_back(task1);
        v.push_back(task2);
        v.push_back(task3);
        v.push_back(task4);
    }
};
